import org.restlet.data.MediaType;

uri = uriBuilder.getFullPathAndId(util, child);

println("found uri of child object : " + uri);

response.setEntity(uri, MediaType.TEXT_PLAIN);